// 引入模块

// 引入自定义模块sum ,average , max
let {average,max}=require('./arr-utils')
let sum = require('./sum')

// 引入第三方模块
let uniq=require('uniq')

console.log(sum([1,2,3,4]))
console.log(average([1,2,3,4]))
console.log(max([1,2,3,4]))
// uniq的功能: 去重 + 排序

console.log(uniq([4,5,2,3,1,2,4,5,3,6]))
